package com.yeqian.attachment.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 附件文件实体类
 */
@Data
@TableName(value = "attachment_file")
public class AttachmentFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("fileName")
    private String fileName;

    @TableField("fileType")
    private String fileType;

    @TableField("filePath")
    private String filePath;

    @TableField("relativepath")
    private String relativepath;

    @TableField("fileSize")
    private Double fileSize;

    @TableField("createUser")
    private String createUser;

    @TableField("createTime")
    private LocalDateTime createtime;

    @TableField("updateUser")
    private String updateUser;

    @TableField("updateTime")
    private LocalDateTime updatetime;

    @TableField("deleteUser")
    private String deleteUser;

    @TableField("deleteTime")
    private LocalDateTime deletetime;

    @TableField("deleteFlag")
    private String deleteflag;

    @TableField("porder")
    private Integer porder;

}
